package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingTenant;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 运维模块-租户管理-后端实现接口类
 * @date 2020-11-18 14：35
 */
public interface TenantManagementService {
    Result<List<CcmsSmartleasingTenant>> getAllTenant(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingTenant> getTenantById(String pkTenantId, String token);

    Result updateTenant(CcmsSmartleasingTenant tenant, String token);

    Result deleteTenant(String deleteId, String token);

    Result<List<CcmsSmartleasingTenant>> getAllTenantByCondition(QueryCriteria queryCriteria, String token);

    Result resetPassword(String pkTenantId, String contactPhone, String token);
}
